import request from '@/utils/request'

// 头部信息
export function getGroupByGroupId(data) {
  return request({
    url: '/invest/manage/getGroupByGroupId',
    method: 'post',
    data
  })
}

// 收益走势图
export function investGroupNetWorthFit(data) {
  return request({
    url: '/invest/manage/investGroupNetWorthFit',
    method: 'post',
    data
  })
}

// 最大回撤接口
export function investGroupNetWorthMaxDown(data) {
  return request({
    url: '/invest/manage/investGroupNetWorthMaxDown',
    method: 'post',
    data
  })
}

// 风险指标
export function investGroupRisk(data) {
  return request({
    url: '/invest/manage/investGroupRisk',
    method: 'post',
    data
  })
}

// 分组净值历史记录
export function investGroupHistory(data) {
  return request({
    url: '/invest/manage/investGroupHistory',
    method: 'post',
    data
  })
}

// 月度表现
export function groupMonthlyIncrease(data) {
  return request({
    url: '/invest/manage/groupMonthlyIncrease',
    method: 'post',
    data
  })
}

// 1 3 6 12 24 36月收益
export function groupBySegment(data) {
  return request({
    url: '/invest/manage/groupBySegment',
    method: 'post',
    data
  })
}

// 月度净值详情
export function groupDetail(data) {
  return request({
    url: '/invest/manage/groupDetail',
    method: 'post',
    data
  })
}

// 月度表现直方图
export function groupHistogram(data) {
  return request({
    url: '/invest/manage/groupHistogram',
    method: 'post',
    data
  })
}

// 月度表现分布
export function getGroupNetWorthMonthDistributed(data) {
  return request({
    url: '/invest/manage/getGroupNetWorthMonthDistributed',
    method: 'post',
    data
  })
}

// 月度表现分布
export function findManageByGroupId(data) {
  return request({
    url: '/invest/manage/findManageByGroupId',
    method: 'post',
    data
  })
}



